package com.wanmait.heating;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//@ComponentScan({"com.wanmait.heating.controller","com.wanmait.heating"})
@MapperScan("com.wanmait.heating.mapper")//mybatis mapper接口的自动扫描
@ServletComponentScan//过滤器监听器好用
public class HeatingApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeatingApplication.class, args);
    }

}
